import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const DASHBOARD: AppRouteRecordRaw = {
    path: '/part',
    name: 'part',
    component: DEFAULT_LAYOUT,
    meta: {
        locale: 'menu.part',
        requiresAuth: true,
        icon: 'icon-send',
        order: 9,
    },
    children: [
        // {
        //     path: 'partlist',
        //     name: 'partlist',
        //     component: () => import('@/views/part/partlist/index.vue'),
        //     meta: {
        //         locale: 'menu.part.partlist',
        //         requiresAuth: true,
        //         roles: ['*'],
        //         icon:'icon-check-circle'
        //     },
        // },
        {
            path: 'platemodule',
            name: 'platemodule',
            component: () => import('@/views/part/platemodule/index.vue'),
            meta: {
                locale: 'menu.part.platemodule',
                requiresAuth: true,
                roles: ['*'],
                icon:'icon-file-pdf'
            },
        },

    ],
};

export default DASHBOARD;
